/** 树 initZTree **/
/* 为公司项目创建新皮肤（优化样式）- 不再需要引入 ztree 自带的 zTreeStyle */
/*.ztree div,.ztree ul,.ztree li,.ztree a,.ztree input,.ztree span{
    margin: 0; padding: 0;
    border: 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}*/
.ztree{
    position: relative;
    z-index: 0;
    padding: 5px;
}
.ztree li{
    overflow: hidden;
    outline: 0;
}
.ztree li:after{ content: ""; display: block; height: 0; clear: both; }
.ztree li > ul{
    padding-left: 20px; /* 与 .ztree li .switch（竖线、展开/收起） 的 width 一致 */
}
/* 父节点有兄弟节点，父节点那一排需要显示竖线 */
.ztree li > ul.line{ background: url("../images/initZTree/line_conn.gif") 2px 0 repeat-y; }
/* 节点文本部分 */
.ztree li > a{
    display: block;
    position: relative;
    height: 30px;
    line-height: 30px;
    border: 1px transparent solid;
    white-space: nowrap;
    cursor: pointer;
}
.ztree li > a:hover{ text-decoration: underline; }
.ztree li > a.curSelectedNode{
    background-color: #ffe6b0;
    color: #000;
    border-color: #ffb951;
    opacity: 0.8;
}
.ztree li > a.curSelectedNode_Edit{
    background-color: #ffe6b0;
    color: #000;
    border-color: #ffb951;
    opacity: 0.8;
}
.ztree li > a.tmpTargetNode_inner{
    background-color: #316ac5;
    color: #fff;
    border-color: #316ac5;
    opacity: 0.8;
}
.ztree li > a.tmpTargetNode_prev{ }
.ztree li > a.tmpTargetNode_next{ }
/* 节点文本编辑 */
.ztree li > a input.rename{
    width: 80px;
    height: 28px; /* .ztree li>a 的高度 - a 的边框 */
    line-height: 26px;
    border: 1px #7ec4cc solid;
    font-size: 12px;
    *border: 0;
    vertical-align: top;
}
.ztree li span.button{
    width: 20px;
    height: 30px;
    border: 0 none;
    background: url("../images/initZTree/zTree20.png") transparent no-repeat scroll;
    cursor: pointer;
    outline: none;
}
.ztree li > span.button{
    position: relative;
    z-index: 1; /* 为避免被 a 遮挡 */
    display: block;
    float: left;
}
.ztree a > span.button{
    display: inline-block;
    vertical-align: top;
}
.ztree li span.button.chk{ cursor: auto; }
.ztree li span.button.chk.checkbox_false_full{ background-position: 0 0; }
.ztree li span.button.chk.checkbox_false_full_focus{ background-position: 0 -30px; }
.ztree li span.button.chk.checkbox_false_part{ background-position: 0 -60px; }
.ztree li span.button.chk.checkbox_false_part_focus{ background-position: 0 -90px; }
.ztree li span.button.chk.checkbox_false_disable{ background-position: 0 -120px; }
.ztree li span.button.chk.checkbox_true_full{ background-position: -20px 0; }
.ztree li span.button.chk.checkbox_true_full_focus{ background-position: -20px -30px; }
.ztree li span.button.chk.checkbox_true_part{ background-position: -20px -60px; }
.ztree li span.button.chk.checkbox_true_part_focus{ background-position: -20px -90px; }
.ztree li span.button.chk.checkbox_true_disable{ background-position: -20px -120px; }
.ztree li span.button.chk.radio_false_full{ background-position: -40px 0; }
.ztree li span.button.chk.radio_false_full_focus{ background-position: -40px -30px; }
.ztree li span.button.chk.radio_false_part{ background-position: -40px -60px; }
.ztree li span.button.chk.radio_false_part_focus{ background-position: -40px -90px; }
.ztree li span.button.chk.radio_false_disable{ background-position: -40px -120px; }
.ztree li span.button.chk.radio_true_full{ background-position: -60px 0; }
.ztree li span.button.chk.radio_true_full_focus{ background-position: -60px -30px; }
.ztree li span.button.chk.radio_true_part{ background-position: -60px -60px; }
.ztree li span.button.chk.radio_true_part_focus{ background-position: -60px -90px; }
.ztree li span.button.chk.radio_true_disable{ background-position: -60px -120px; }
.ztree li span.button.switch{ /*width:20px; 与 .button 相同，不需要覆写*/ }
.ztree li span.button.root_open{ background-position: -120px -90px; }
.ztree li span.button.root_close{ background-position: -100px -90px; }
.ztree li span.button.roots_open{ background-position: -120px 0; }
.ztree li span.button.roots_close{ background-position: -100px 0; }
.ztree li span.button.center_open{ background-position: -120px -30px; }
.ztree li span.button.center_close{ background-position: -100px -30px; }
.ztree li span.button.bottom_open{ background-position: -120px -60px; }
.ztree li span.button.bottom_close{ background-position: -100px -60px; }
.ztree li span.button.noline_open{ background-position: -120px -120px; }
.ztree li span.button.noline_close{ background-position: -100px -120px; }
.ztree li span.button.root_docu{ background: none; }
.ztree li span.button.roots_docu{ background-position: -80px 0 }
.ztree li span.button.center_docu{ background-position: -80px -30px }
.ztree li span.button.bottom_docu{ background-position: -80px -60px }
.ztree li span.button.noline_docu{ background: none; }
.ztree li span.button.ico_open{ background-position: -140px -30px; }
.ztree li span.button.ico_close{ background-position: -140px 0; }
.ztree li span.button.ico_docu{ background-position: -140px -60px; }
.ztree li span.button.edit{ background-position: -140px -90px; }
.ztree li span.button.remove{ background-position: -140px -120px; }
.ztree li span.button.ico_loading{ background: url("../images/initZTree/loading.gif") no-repeat center; }
ul.tmpTargetzTree{
    background-color: #ffe6b0;
    opacity: 0.8;
    filter: alpha(opacity=80)
}
span.tmpzTreeMove_arrow{
    width: 20px;
    height: 30px;
    display: inline-block;
    border: 0 none;
    position: absolute;
    z-index: 1; /* 防止被 a,span.switch,span.chk 遮挡 */
    background: url("../images/initZTree/zTree20.png") no-repeat transparent -140px -150px;
    background-attachment: scroll;
}
/* 拖拽 */
ul.ztree.zTreeDragUL{
    margin: 0;
    padding: 0;
    position: absolute;
    width: auto;
    height: auto;
    overflow: hidden;
    background-color: #cfcfcf;
    border: 1px #00b83f dotted;
    opacity: 0.8;
    filter: alpha(opacity=80)
}
.zTreeMask{
    z-index: 10000;
    background-color: #cfcfcf;
    opacity: 0.0;
    filter: alpha(opacity=0);
    position: absolute
}
/* wiFrame 框架 */
.ztree-abs{
    position: absolute;
    top: 0; bottom: 0;
    left: 0; right: 0;
    overflow: auto;
}
ul.ztree.ztree-abs.zTreeDragUL{ /* 避免受到 ztree-abs 的影响 */
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
}